<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
label {
	width: 150px;
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>简单搜索</title>

</head>
<body style="margin: 0; padding: 0">
<script type="text/javascript" src="${ctx}/common/js/toonan.combobox.js"></script>
	<script type="text/javascript">
		$(function() {

			function submitForm() {
				var ef = $("#editForm").serializeArray();
				var d = "{";
				var num = 1;
				$.each(ef, function(i, n) {
						$.each(n, function(k, v) {
							d += "\"" + v + "\"";
							if (num % 2 == 1) {
								d += ":"
							} else {
								d += ","
							}
							num++;
						})
				});
				d = d.substr(0, d.length - 1) + "}";
				$("#dg").datagrid({
					queryParams : eval("(" + d + ")")
				});
				$("#win").window("close");
		}
		
		})
	</script>
	<div class="easyui-panel"
		style="padding: 10px 10px; width: 100%; height: 100%;">
		<form id="editForm" action="${ctx}/lsj/building/search" method="post">
			<table>
				<tr>
					<td>行政区：</td>
					<td><input type="text" name="xzq" id="xzq" size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.xzq}" /></td>
					<td align="right" style="padding-left: 10px;">街镇：</td>
					<td><input type="text" data-parent="xzq" name="jz" id='jz'
						size="30" maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.jz}" /></td>
				</tr>
				<tr>
					<td>居（村）委会：</td>
					<td><input type="text" name="jwh" id="jwh" size="30"
						data-parent="jz" maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.jwh}" /></td>
					<td align="right" style="padding-left: 10px;">房屋性质：</td>
					<td><input type="text" name="czwxz" id='czwxz' size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.czwxz}" /></td>
				</tr>
				<tr>
					<td>街（路巷）：</td>
					<td><input type="text" name="jddm" id="jddm" size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.xzq}" /></td>
					<td align="right" style="padding-left: 10px;">门（楼）牌号：</td>
					<td><input type="text" name="czwmph" id='czwmph' size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.czwmph}" /></td>
				</tr>
				<tr>
					<td>街（路巷）：</td>
					<td colspan="3"><input type="text" name="one " id="none"
						size="30" maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="" /></td>
				</tr>
				<tr>
					<td align="right">门（楼）牌名称：</td>
					<td colspan="3"><input type="text" name="mpmc" id='mpmc'
						size="30" maxlength="50" class="easyui-textbox"
						data-options="width:'320px'" value="${ggFwxxz.mpmc}" /></td>
				</tr>
				<tr>
					<td>总套数：</td>
					<td><input type="text" name="one " id="none" size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="【此列没有】" /></td>
					<td align="right" style="padding-left: 10px;">是否同一产权人：</td>
					<td><input type="text" name="sftycqr" id='sftycqr' size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.sftycqr}" /></td>
				</tr>
				<tr>
					<td>是否注销：</td>
					<td><input type="text" name="sfzx" id="sfzx" size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.sfzx}" /></td>
					<td align="right" style="padding-left: 10px;">数据来源：</td>
					<td><input type="text" name="none" id='none' size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="【此列没有】" /></td>
				</tr>
				<tr>
					<td>是否自贸区管理：</td>
					<td><input type="text" name="sfzmqgl" id="sfzmqgl" size="30"
						maxlength="50" class="easyui-combobox"
						data-options="width:'120px'" value="${ggFwxxz.sfzmqgl}" /></td>
					<td align="right" style="padding-left: 10px;"></td>
					<td></td>
				</tr>
				<tr>
					<td colspan="4" align="center" style="padding-top: 10px;"><a
						href="javascript:void(0)" class="easyui-linkbutton"
						iconCls="icon-remove" onclick="baseReset('editForm')">重置</a> <a
						href="javascript:void(0)" class="easyui-linkbutton"
						iconCls="icon-save" onclick="submitForm()">提交</a> <a
						href="javascript:void(0)" class="easyui-linkbutton"
						iconCls="icon-cancel" onclick="clearForm('win')">取消</a></td>
				</tr>
			</table>
		</form>
	</div>

</body>
</html>